import requests
import json
import os

root_dir = os.path.abspath(os.sep)
path = "Myframe/ddt"
img_list = os.listdir(root_dir + path)
print(img_list)
for i in range(len(img_list)):
    if img_list[i].startswith("test"):
        print(img_list[i])
        os.rename(f'./ddt/{img_list[i]}','./ddt/test_1_1.py')


